<div class="textarea-form" [ngStyle]="{'width':width,'height':height/20+'rem'}">
  <div class="textarea-warp">
    <textarea
      #stream
      [readonly]="readonly == true"
      [(ngModel)]="text"
      [maxlength]="maxQuantity"
      [placeholder]="placeMark"
      (ngModelChange)="onChange(stream.value)"
      [disabled]="readonly == true "
    ></textarea>
  </div>
  <div class="textarea-font-quantity" *ngIf="!readonly">
    <span [class.has-value]="text?.length>0">{{text?.length || 0}}</span>
    <span>/</span>
    <span>{{maxQuantity}}</span>
  </div>
</div>

<!--<p (touchstart)="touch()">1111111111111111</p>-->
